package day5.HomeWork;

public class Employee {
    //所有员工都有共同特性（如姓名，性别，出生日期，员工类别）
    private String name;
    private String gender;
    private String date;
    private String type;

    public Employee() {
    }

    public Employee(String name, String gender, String date, String type) {
        this.name = name;
        this.gender = gender;
        this.date = date;
        this.type = type;
    }

    public Employee(String name, String gender, String date) {
        this.name = name;
        this.gender = gender;
        this.date = date;
    }

    public String getName() {
        return name;
    }

    public String getGender() {
        return gender;
    }

    public String getDate() {
        return date;
    }

    public String getType() {
        return type;
    }

    public void computeSalary(){
        System.out.println("工资信息");
    }

}
